package xml.xstream.pojo;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author longhj
 * @Description TODO
 * @Date 2021/08/07 星期六 14:43
 */
@NoArgsConstructor
@Data
@AllArgsConstructor
@XStreamAlias("relation")
public class Relation {
    @XStreamAlias("target")
    private Target target;
    @XStreamAlias("source")
    private Source source;
    @XStreamAsAttribute
    private String id;
    @XStreamAsAttribute
    private String type;
}
